<template>
    <div>
        <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
        <el-tab-pane label="修改通用信息" name="info"><CommonInfo></CommonInfo></el-tab-pane>
        <el-tab-pane label="修改密码" name="password"><Password></Password></el-tab-pane>
        </el-tabs>
    </div>
</template>

<script>
    import CommonInfo from "../../components/pro/CommonInfo";
    import Password from "../../components/pro/Password";
    export default {
        name: "Profile",
        data(){
            return {
                activeName:'info',
            }
        },
        methods:{
            handleClick(tab, event) {
                console.log(tab, event);
            }
        },
        components:{
            CommonInfo,
            Password,
        }

    }
</script>

<style scoped>

</style>